EventMouse Parameters

Parameter Description

Button

Indicates which mouse button was depressed:

0x0 = none, 0x1=left, 0x2=right.

Shift

Indicates which modifier keys were depressed:

0x0=Alt, 0x1=Shift, 0x2=Ctrl.

X

The X-coordinate of the mouse when it was lifted.

Measured from the left edge of the control.

Y

The Y-coordinate of the mouse when it was lifted.

Measured from the right edge of the control.